{extend name="public/base" /}

{block name="title"}<title>报名信息</title>{/block}

{block name="pjax_container"}
<section class="content-header">
    <h1>报名信息</h1>
    <ol class="breadcrumb">
        <li class="active"><i class="fa fa-dashboard"></i> 报名信息</li>
    </ol>
</section>
<section class="content">
    <div class="row">
        <div class="col-md-12">
            <form class="form-horizontal" method="POST" action="{:url('user_activity_edit')}" onsubmit="return false">
                <input type="hidden" name="id" value="{$info.id|default=0}" />
                <div class="nav-tabs-custom">
                    <ul class="nav nav-tabs">
                        <li class="pull-right"><a href="javascript:history.back(-1)" class="btn btn-sm" style="padding:10px 2px;"><i class="fa fa-list"></i> 返回</a></li>
                    </ul>
                    <div class="tab-content">
                        <div class="tab-pane active" id="tab1">

                            <div class="form-group">
                                <label class="col-sm-2 control-label">报名时间</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.create_time}" disabled="disabled">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">报名活动</label>
                                <div class="col-sm-7" style="padding-top:7px;">
                                    <a href="{:url('activity/edit', ['id'=>$info.activity_id])}" target="_blank">{$info.title}</a>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">报名用户</label>
                                <div class="col-sm-7" style="padding-top:7px;">
                                    <a href="{:url('client_user/edit', ['id'=>$info.user_id])}" target="_blank">{$info.nickname}</a>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">联系人姓名</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.name}" disabled="disabled">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">性别</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.SexStr}" disabled="disabled">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">出生日期</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.BirthdayStr}" disabled="disabled">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">联系人手机</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.mobile}" disabled="disabled">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">是否签到</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.IsSignOnStr}" disabled="disabled">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">是否签退</label>
                                <div class="col-sm-7">
                                    <input class="form-control" value="{$info.IsSignOffStr}" disabled="disabled">
                                </div>
                            </div>

                        </div>
                    </div>
                    <!--<div class="box-footer">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-7">
                            <div class="btn-group pull-right">
                                <button type="submit" class="btn btn-info pull-right submits" data-loading-text="&lt;i class='fa fa-spinner fa-spin '&gt;&lt;/i&gt; 提交">提交</button>
                            </div>
                        </div>
                    </div>-->
                </div>
            </form>
        </div>
    </div>
</section>
<script type="text/javascript">

    $(function(){
        /*ajax页面加载icheck，有该控件的页面才需要*/
        $(".select2").select2({language:"zh-CN"});
    });
</script>
{/block}
